/*
 * @Author: 陈媛洁
 * @Date: 2020-03-04
 *
 * 车型管理
 */

import { createAPI } from '@/utils/request'
// 获取车辆类型分页数据
export const carModelListAPI = data => createAPI(`/truckType/page`, 'GET', data)
// 新增车辆类型
export const carModeAddAPI = data => createAPI(`/truckType`, 'POST', data)
export const carModeDelAPI = data => createAPI(`/truckType/{id}`, 'DELETE', data)
